package com.xiaomazi.acl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaomazi.acl.dto.UserDTO;
import com.xiaomazi.acl.entity.User;

import java.util.Map;

public interface UserService extends IService<User> {

    User selectByUsername(String username);

    /**
     * 根据条件查询信息并分页显示
     * @param userDTO 条件
     * @return Map of user
     */
    Map<String, Object> selectUserByCondition(UserDTO userDTO);
}
